package br.com.JZSolution.domineduplex.gui;

import java.awt.BorderLayout;
import java.awt.Dimension;

import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;

import br.com.JZSolution.domineduplex.gui.paineltransferencia.TransferTable;

public class TransfersPanel extends JPanel {

	private static final long serialVersionUID = 1L;
	
	private TransferTable transferTable;
	public TransfersPanel(){
		super(new BorderLayout());
		
	
		transferTable = new TransferTable();
		JScrollPane transferScrollPanel = new JScrollPane(transferTable,JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
		transferScrollPanel.setPreferredSize(new Dimension(580,200));
		this.add(transferScrollPanel, BorderLayout.CENTER);
		this.setPreferredSize(new Dimension(580,200));
	}
	public TransferTable getTransferTable() {
		return transferTable;
	}
}
